package com.jindy.module.machine.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 机器使用记录对象 t_machine_record
 *
 * @author ruoyi
 * @date 2022-10-21
 */
@Data
public class MachineRecord
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 机器id */
    @Excel(name = "机器id")
    private String machineId;

    /** 机器编号 */
    @Excel(name = "机器编号")
    private String machineNo;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date warehousingTime;

    /** 出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outboundTime;

    /** 入库编号 */
    @Excel(name = "入库编号")
    private String warehousingNo;

    /** 出库编号 */
    @Excel(name = "出库编号")
    private String outboundNo;

    /** 租赁销售订单编号 */
    @Excel(name = "租赁销售订单编号")
    private String orderNo;

    /** 入库单id */
    @Excel(name = "入库单id")
    private Long warehousingId;

    /** 出库单id */
    @Excel(name = "出库单id")
    private Long outboundId;

    /** 租赁销售订单id */
    @Excel(name = "租赁销售订单id")
    private Long orderId;
    /** 仓库id */
    @Excel(name = "仓库id")
    private Long warehouseId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /**机器型号*/
    private String model;
    /**机器状态*/
    private String status;

    /** 出库天数 */
    @Excel(name = "出库天数")
    private Long deliveryDays;

    /** 已支出金额 */
    @Excel(name = "已支出金额")
    private BigDecimal rentPaid;

    /**机器序列号 */
    @Excel(name = "机器序列号")
    private String machineSerialNumber;

    /**产品名称*/
    private String productName;

    /**产品id*/
    private Long productId;

}
